
#ifndef EVENT_H_
#define EVENT_H_
#include "Poco/DateTime.h"
#include "Poco/DateTimeParser.h"
#include <string>
using namespace std;
using namespace Poco;


class Event
{
	private:
		DateTime date;
		string type;
		string user;
		string energyType;
		int amount;
		double price;
		bool empty;
	public:
		Event();
		Event(DateTime date,string userID,string energyType ,string eventType,int amount);
		Event(DateTime date,string userID,string energyType, string eventType,int amount,double price);
		Event(Event*);
		void UpdateEvent(int newAmount);
		DateTime getDate();
		string getUser();
		string getType();
		string getEnergyType();
		int getAmount();
		double getPrice();
		Event& operator=(const Event& e);
		void print();
		bool isEmpty();

};

#endif /*EVENT_H_*/


//User& operator=(const User& other);

